import request from '@/utils/request'

// 证书库
export function list(data, params) {
  return request({
    url: '/system/paper/list',
    method: 'post',
    data: data,
    params: params
  })
}

// 入库、出库 {id:'', status: '入库/出库', tableName: '', note: '}
export function putInOut(data, params) {
  return request({
    url: '/system/paper/putInOut',
    method: 'post',
    data: data,
    params: params
  })
}

// 提交删除 {id:'', status: '入库/出库', tableName: '', note: '}
export function prepareDelete(data, params) {
  return request({
    url: '/system/paper/prepareDelete',
    method: 'post',
    data: data,
    params: params
  })
}
